//
//  RDHomeNavView.m
//  ReverseDiabetes
//
//  Created by 王佩璇 on 2024/8/27.
//

#import "RDHomeNavView.h"

@implementation RDHomeNavView

- (IBAction)nextMonth:(id)sender {
    if ([self.delegate respondsToSelector:@selector(didNextMonthClick)]) {
        [self.delegate didNextMonthClick];
    }
}
- (IBAction)recordingClick:(id)sender {
    if ([self.delegate respondsToSelector:@selector(didRecordingClick)]) {
        [self.delegate didRecordingClick];
    }
}
- (IBAction)settingClick:(id)sender {
    if ([self.delegate respondsToSelector:@selector(didSettingClick)]) {
        [self.delegate didSettingClick];
    }
    
}

- (IBAction)previousMonth:(id)sender {
    if ([self.delegate respondsToSelector:@selector(didPreviousMonthClick)]) {
        [self.delegate didPreviousMonthClick];
    }
}

@end
